package com.hdy.javachatroomdemo.Model;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    //插入用户数据 -> 注册
    public Integer insert(User user);
    //查询用户数据 -> 登录
    public User selectByUsername(String username);
}
